package org.vincen.helloworld.mybatis;

import java.util.List;

// define the data access interface
public interface UserDao {
	
	public int insert (User user);
	public int update (User user);
	public int delete (String name);
	public List<User> selectAll ();
	public int countUser ();
	public User findByName (String name);

}
